@import './base.scss';
@import './cover.scss';
@import './analysis.scss';

.el-tree-node__expand-icon.treeicon {
  width: 12px;
  height: 12px;
  transform: none;
}
.el-tree-node__expand-icon.expanded.treeicon {
  width: 12px;
  height: 12px;
  transform: none;
}

.el-tree-node__expand-icon.is-leaf.treeicon {
  width: 12px;
  height: 12px;
  background: none;
}
// 滚动条美化
::-webkit-scrollbar {
  /* px-to-viewport-ignore-next */
  width: 0.6em;
  /* px-to-viewport-ignore-next */
  height: 0.6em;
  background: hsla(0, 0%, 100%, 0.6);
}

::-webkit-scrollbar-track {
  border-radius: 0;
}

::-webkit-scrollbar-thumb {
  background-color: #ccc;
  transition: all 0.2s;
  /* px-to-viewport-ignore-next */
  border-radius: .6em;


  &:hover {
    background-color: #757575;
  }
}
// 主渲染部分
.container {
  width: 100%;
  height: 100%;
  background-color: transparent;
}
/* prettier-ignore */
.table {
  height: calc(100% - 30px);
  max-width: calc(100vw - 220px);
  overflow-y: auto;
  padding: 15px;
  padding-bottom: 0;
  box-sizing: border-box;
}

.table-body{
  padding: 20px;
  margin-top: 16px;
  background: rgba(255, 255, 255, 0.502);
  border: 2px solid #FFFFFF;
  border-radius: 8px;
}

.el-popover {
  padding: 8px 0;
}

.drawerForm{
  padding: 50px 20px;
}
.drawer-footer{
  width: 100%;
  padding: 15px 30px;
  position: absolute;
  bottom: 0;
  border-top: 1px solid #DCE1E4;
  .btn{
    width: 120px;
    height: 46px;
    line-height: 46px;
    padding: 0;
    font-size: 16px;
  }
}
.dialog-footer{
  width: 100%;
  box-sizing: border-box;
  padding: 15px 30px;
  position: absolute;
  bottom: 0;
  border-top: 1px solid #DCE1E4;
  .btn{
    width: 120px;
    height: 46px;
    line-height: 46px;
    padding: 0;
    font-size: 16px;
  }
}
.dialogForm {
  height: calc(100% - 240px);
  padding-bottom: 40px;
}

.attribute-wrapper {
  box-sizing: border-box;
  padding: 24px;
  background: #FFFFFF;
  border-radius: 8px 8px 8px 8px;
  border: 1px solid #DCE1E4;

  .title-box {
    display: flex;
    justify-content: space-between;
    color: #0B085F;
    font-size: 18px;
    margin-bottom: 10px;
    .btn-add{
      color: #0B085F;
      font-size: 16px;
    }
  }

  .option-parent{
    position: relative;
    display: flex;
    align-items: center;
    .option-list-line{
      width: 42px;
      height: 42px;
      line-height: 42px;
      text-align: center;
      border: 2px solid #0B085F;
      color: #0B085F;
      font-size: 20px;
      font-weight: 700;
      border-radius: 50%;
      margin-right: 12px;
      &:before{
        position: absolute;
        top: 0;
        left: 21px;
        content:' ';
        width: 1px;
        height: calc(50% - 21px);
        background: #0B085F;
      }
      &:after{
        position: absolute;
        bottom: 0;
        left: 21px;
        content:' ';
        width: 1px;
        height: calc(50% - 21px);
        background: #0B085F;
      }
    }
  }

  .option-list {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    .option-box-line{
      width: 42px;
      height: 42px;
      line-height: 42px;
      text-align: center;
      border: 2px solid #2774F4;
      color: #2774F4;
      font-size: 20px;
      font-weight: 700;
      border-radius: 50%;
      margin-right: 12px;
      &:before{
        position: absolute;
        top: 0;
        left: 21px;
        content:' ';
        width: 1px;
        height: calc(50% - 21px);
        background: #2774F4;
      }
      &:after{
        position: absolute;
        bottom: 0;
        left: 21px;
        content:' ';
        width: 1px;
        height: calc(50% - 21px);
        background: #2774F4;
      }
    }
    .option-box {
      margin-bottom: 20px;
      &:last-child{
        margin-bottom: 0;
      }

      .select1{
        width: 220px;
        margin-right: 24px;
      }

      span{
        font-size: 16px;
      }

      .btn-add {
        color: #FFFFFF;
        background: #FC9657;
        border: none;
        margin-right: 10px;
      }

      .btn-del {
        color: #FFFFFF;
        background: #F96060;
        border: none;
      }
    }
  }

}

.breadcrumb{
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 16px;
  color: #999999;
  .breadcrumb-item{
    &:first-child{
      cursor: pointer;
      &:hover{
        color: #0B085F;
      }
    }
    &:last-child{
      color: #0B085F;
    }
  }
  .breadcrumb-item-icon{
    margin: 0 6px;
  }
}

.topbut {
  input::-webkit-outer-spin-button,
  input::-webkit-inner-spin-button {
    -webkit-appearance: none;
  }
  input[type="number"] {
    -moz-appearance: textfield;
    line-height: 1;//输入文字的话，光标居中
  }
  inpit {
    border: none;
  }
}

